all:tclient tserver

tclient:tclient.cc ../sock.cc
	g++ -o $@ $^ -std=c++11 -I../third_package/include -L../third_package/lib -lymbxlogd
tserver:tserver.cc ../sock.cc threadpool.cc
	g++ -o $@ $^ -std=c++11 -lpthread -I../third_package/include -L../third_package/lib -lymbxlogd 
.PHONY:clean
clean:
	rm -rf tclient tserver